package com.atguigu.auth.activiti;

import org.springframework.stereotype.Component;

@Component
public class UserBean {
    public String getUsername(int id){
        if (id==1){
            return "lilie";
        }
        if (id==2){
            return "hanmeimei";
        }
        return "admin";
    }
}
